package com.kust.smarhome.background.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kust.smarhome.background.common.dto.UserInfoDto;
import com.kust.smarhome.background.model.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-31
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    @Select("")
    List<UserInfoDto> selectUserInfo(String username);
}
